package com.itheima.pojo;

public class Option {
    private Integer id;
    private Integer surveyId;
    private Integer questionId;
    private String optionName;
    private Integer optionSort;
    private Integer optionPicId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSurveyId() {
        return surveyId;
    }

    public void setSurveyId(Integer surveyId) {
        this.surveyId = surveyId;
    }

    public Integer getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public String getOptionName() {
        return optionName;
    }

    public void setOptionName(String optionName) {
        this.optionName = optionName;
    }

    public Integer getOptionSort() {
        return optionSort;
    }

    public void setOptionSort(Integer optionSort) {
        this.optionSort = optionSort;
    }

    public Integer getOptionPicId() {
        return optionPicId;
    }

    public void setOptionPicId(Integer optionPicId) {
        this.optionPicId = optionPicId;
    }

    @Override
    public String toString() {
        return "Option{" +
                "id=" + id +
                ", surveyId=" + surveyId +
                ", questionId=" + questionId +
                ", optionName='" + optionName + '\'' +
                ", optionSort=" + optionSort +
                ", optionPicId=" + optionPicId +
                '}';
    }
}
